package com.five.service;

import com.five.dto.AuthorUpdateRequest;
import com.five.pojo.Author;

public interface AuthorProfileService {
    /**
     * 获取作者信息
     * @param authorId
     * @return
     */
    Author getAuthorProfile(Long authorId);

    /**
     * 更新作者信息
     * @param request
     */
    void updateAuthorProfile(AuthorUpdateRequest request);

}
